package com.hs.wa.service;




import com.hs.wa.dao.ArticleMapper;
import com.hs.wa.entity.ArticleWithBLOBs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleService {

	@Autowired
	private ArticleMapper articleMapper;

	public int addArticleService(ArticleWithBLOBs bs) {
		int count2 = articleMapper.insert(bs);
		System.out.println(  "    " + count2);
		return count2;
	}


}
